package ssi.staaar.messages;

public class KeyRecoveryResponseMessage extends LowLevelMessage {
	private String username;
	private String cryptedpwd;
	private String pubKey;
	private String privKey;
	private long timestamp;
	
	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getCryptedpwd() {
		return cryptedpwd;
	}
	
	public void setCryptedpwd(String cryptedpwd) {
		this.cryptedpwd = cryptedpwd;
	}
	
	public String getPubKey() {
		return pubKey;
	}
	
	public void setPubKey(String pubKey) {
		this.pubKey = pubKey;
	}
	
	public String getPrivKey() {
		return privKey;
	}
	
	public void setPrivKey(String privKey) {
		this.privKey = privKey;
	}
	
	public long getTimestamp() {
		return timestamp;
	}
	
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	
	public String toString() {
		return username + "!-!" + cryptedpwd + "!-!" + "!-!" + timestamp + "-" + pubKey + "!-!" +privKey; 
	}
}
